package net.expectx.common.single.third.netease.im;

/**
 * @author lijian
 */
public class Test {
    public static void main(String [] args){
        /**
         * 18363003321&15715311819
         */
       // System.out.println(NeteaseImServicesUtils.sendMsg("18363003321","974028417@qq.com",0,0,"你1111好啊！"));
        System.out.println(NeteaseImServicesUtils.querySessionMsg("18363003321","974028417@qq.com",1,10,1));
        //System.out.println(NeteaseImServicesUtils.createUser("18363003321","李剑","18363003321","https://titi-app.oss-cn-beijing.aliyuncs.com/headImg/anchorAlbum67450403081522054625318.png",null,null,null,null,null,null,null));
        /*List<String> accids=new ArrayList<>();
        accids.add("15715311819");
        System.out.println(NeteaseImServicesUtils.userInfos(accids));*/
       //System.out.println(NeteaseImServicesUtils.createTeam("智舰工作室","li1991-hello@163.com",null,"欢迎加入智舰工作室",0,0,"群公告","","","",0,0,0,0));
//        List<String>members=new ArrayList<>();
//        members.add("974028417@qq.com");
//        members.add("lijian@chiship.cn");
//        members.add("15715311816");
//        System.out.println(NeteaseImServicesUtils.addTeam(322615108L,"lli1991-hello@163.com",members,0,"测试",null));
        //System.out.println(NeteaseImServicesUtils.kickTeam(322285319L,"li1991-hello@163.com","lijian@chiship.cn",null));
//        System.out.println(NeteaseImServicesUtils.joinTeams("15715311819"));
//        System.out.println(NeteaseImServicesUtils.teamQueryDetail(367911289L));
//        System.out.print(NeteaseImServicesUtils.updateTeam(367911289L,"群组1改变了啊啊啊","admin","群组1改变了啊","这是群组改变以后的",1,"","",0,0,0,0));
        //System.out.println(NeteaseImServicesUtils.removeTeam(322726868L,"li1991-hello@163.com"));
//        List<String>tids=new ArrayList<>();
//        tids.add("407502563");
        //System.out.println(NeteaseImServicesUtils.queryTeam(tids,1));
        //System.out.println(NeteaseImServicesUtils.teamChangeOwner(322615108L,"li1991-hello@163.com","lijian@chiship.cn",2));
//          System.out.print(NeteaseImServicesUtils.joinTeams("15715311819"));
//          System.out.print(NeteaseImServicesUtils.queryTeam(tids,1));
//        System.out.println(NeteaseImServicesUtils.createTeam("群组002","li1991-hello@163.com",null,"欢迎加入群组002",0,0,"群公告","","http://ttfootball.oss-cn-beijing.aliyuncs.com/20180313165412114_395.png","",0,0,0,0));

    }
}
